home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 September (IDG) / Sep99.iso / MarkzScout™ 14-day trial / Scripts / Logging.m1s < prev    next >
Encoding:
Text File  |  1999-02-05  |  368 b   |  16 lines  |  [TEXT/MSCT]

  1. //
  2. // Logging.M1S
  3. //
  4. // Write date and time and the full job file path to a log file.
  5. // This example always writes to the 'hard coded' file MSCOUTLG.TXT
  6. // We do not use the action point 'Output To File' feature
  7. //
  8. d = DATE()
  9.  
  10. WRITE "MSCOUTLG.TXT",
  11.   MID(d,5,2) + "/" + MID(d,7,2) + "/" + LEFT(d,4) 
  12.   + " " 
  13.   + MID(d,9,2) + ":" + MID(d,11,2)
  14.   + " - " 
  15.   + it.CODE
  16.